package com.ktgj.flight.mapper;

import java.util.List;
import com.ktgj.flight.domain.ScreeningKey;

/**
 * 短信猫关键字过滤Mapper接口
 * 
 * @author ruoyi
 * @date 2021-08-30
 */
public interface ScreeningKeyMapper 
{
    /**
     * 查询短信猫关键字过滤
     * 
     * @param pkid 短信猫关键字过滤ID
     * @return 短信猫关键字过滤
     */
    public ScreeningKey selectScreeningKeyById(Long pkid);

    /**
     * 查询短信猫关键字过滤列表
     * 
     * @param screeningKey 短信猫关键字过滤
     * @return 短信猫关键字过滤集合
     */
    public List<ScreeningKey> selectScreeningKeyList(ScreeningKey screeningKey);

    /**
     * 新增短信猫关键字过滤
     * 
     * @param screeningKey 短信猫关键字过滤
     * @return 结果
     */
    public int insertScreeningKey(ScreeningKey screeningKey);

    /**
     * 修改短信猫关键字过滤
     * 
     * @param screeningKey 短信猫关键字过滤
     * @return 结果
     */
    public int updateScreeningKey(ScreeningKey screeningKey);

    /**
     * 删除短信猫关键字过滤
     * 
     * @param pkid 短信猫关键字过滤ID
     * @return 结果
     */
    public int deleteScreeningKeyById(Long pkid);

    /**
     * 批量删除短信猫关键字过滤
     * 
     * @param pkids 需要删除的数据ID
     * @return 结果
     */
    public int deleteScreeningKeyByIds(Long[] pkids);
}
